﻿<Window x:Class="Net.Chirash.Twitter.TwitterZone.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:Net.Chirash.Twitter.TwitterZone"
        Title="Tweet Zone" Height="350" Width="525" Loaded="Window_Loaded" Icon="/TwitterZone;component/Images/TweetZoneIcon.ico">
    <Grid>
        <StatusBar Height="23" HorizontalAlignment="Stretch" Name="MainStatusBar" VerticalAlignment="Bottom" >
            <ProgressBar Height="10" HorizontalAlignment="Left" Name="ConnectionProgressBar" VerticalAlignment="Top" Width="100" IsIndeterminate="True" Visibility="Collapsed" />
        </StatusBar>
        <StackPanel HorizontalAlignment="Stretch" Name="stackPanel1" VerticalAlignment="Stretch">
            <Expander Header="From" Name="expander1">
                <Grid>
                    <TextBox HorizontalAlignment="Stretch" Margin="0" Name="UpdateTextBox" VerticalAlignment="Stretch" Width="Auto" Padding="0" />
                    <Button Content="Tweet" Height="23" HorizontalAlignment="Right" Margin="426,18,0,0" Name="UpdateButton" VerticalAlignment="Bottom" Width="75" Click="UpdateButton_Click" />
                </Grid>
            </Expander>
            <DataGrid AutoGenerateColumns="False" Name="TimeLineDataGrid" VerticalScrollBarVisibility="Auto" MaxHeight="250">
                <DataGrid.Columns>
                    <DataGridTemplateColumn Header="Header">
                        <DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <Grid Height="100" Width="400">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto" MinWidth="20" />
                                        <ColumnDefinition MinWidth="20" />
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition MinHeight="20" Height="Auto" />
                                        <RowDefinition Height="Auto" MinHeight="20" />
                                    </Grid.RowDefinitions>
                                    <local:StatusBox Height="0" x:Name="statusBox1" Width="0" />
                                </Grid>
                            </DataTemplate>
                        </DataGridTemplateColumn.CellTemplate>
                    </DataGridTemplateColumn>
                </DataGrid.Columns>
            </DataGrid>
        </StackPanel>
    </Grid>
</Window>
